package annotatePratice;
@Test(age = 15, name = "张杰")
public class annotationDemo {

	public static void main(String[] args) {
		Class<annotationDemo> c = annotationDemo.class;
		
		Test t = c.getAnnotation(Test.class);
		
		int age = t.age();
		String name = t.name();
		
		System.out.println(age+","+name);

	}

}
